home *** CD-ROM | disk | FTP | other *** search
-
-
-
- bbbbaaaaddddaaaaddddddddrrrr((((DDDD3333XXXX)))) bbbbaaaaddddaaaaddddddddrrrr((((DDDD3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _bbbb_aaaa_dddd_aaaa_dddd_dddd_rrrr - test for valid input bus address
- _bbbb_aaaa_dddd_aaaa_dddd_dddd_rrrr______vvvv_aaaa_llll - test for valid input device address and return value
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_yyyy_ssss_tttt_mmmm_...._hhhh_>>>>
- _iiii_nnnn_tttt _bbbb_aaaa_dddd_aaaa_dddd_dddd_rrrr_((((_vvvv_oooo_llll_aaaa_tttt_iiii_llll_eeee _vvvv_oooo_iiii_dddd _****_a_d_d_r_,,,, _iiii_nnnn_tttt _s_i_z_e_))))_;;;;
- _iiii_nnnn_tttt _bbbb_aaaa_dddd_aaaa_dddd_dddd_rrrr______vvvv_aaaa_llll_((((_vvvv_oooo_llll_aaaa_tttt_iiii_llll_eeee _vvvv_oooo_iiii_dddd _****_a_d_d_r_,,,, _iiii_nnnn_tttt _s_i_z_e_,,,, _vvvv_oooo_iiii_dddd _****_p_t_r_))))_;;;;
-
- AAAArrrrgggguuuummmmeeeennnnttttssss
- _a_d_d_r The VME bus address to be probed.
-
- _s_i_z_e The size in bytes to probe the bus: 1, 2, 4, or 8.
-
- _p_t_r A pointer to a variable of the specified _s_i_z_e (char, short, int, or
- long long) into which the value read is placed.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Typically these functions are called from a VME device driver's _iiii_nnnn_iiii_tttt(D2)
- or _eeee_dddd_tttt_iiii_nnnn_iiii_tttt(D2) function to determine whether a device is present in the
- system.
-
- Call _bbbb_aaaa_dddd_aaaa_dddd_dddd_rrrr_((((_)))) to determine whether you can read the specified physical
- address.
-
- Call _bbbb_aaaa_dddd_aaaa_dddd_dddd_rrrr______vvvv_aaaa_llll_((((_)))) when you also want to use the value read from the test
- address. This saves the time of another uncached memory access to read
- the address after it has been found to be valid.
-
- NNNNOOOOTTTTEEEESSSS
- Passing an invalid _s_i_z_e will result in a system panic.
-
- These functions may not be called from an interrupt handler or from
- routines that may be called from an interrupt handler.
-
- These functions are designed for systems in which device addresses have a
- fixed mapping into the physical memory space. Depending on the system
- and the hardware attachment, device addresses may be mapped dynamically.
- In those cases, _pppp_iiii_oooo______bbbb_aaaa_dddd_aaaa_dddd_dddd_rrrr(D3X) must be used.
-
- It is possible that the _bbbb_aaaa_dddd_aaaa_dddd_dddd_rrrr______vvvv_aaaa_llll_((((_)))) function may changed or removed in
- the future.
-
- RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
- When the addressed location is accessible, both functions return 0.
- Otherwise, both return 1 and _bbbb_aaaa_dddd_aaaa_dddd_dddd_rrrr______vvvv_aaaa_llll_((((_)))) does not modify the variable
- at _p_t_r.
-
- SSSSeeeeeeee AAAAllllssssoooo
- pio_badaddr(D3X), pio_wbadaddr(D3X), wbadaddr(D3X).
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-